﻿using System;
using System.Runtime.InteropServices;

namespace ParanoidMike.CacheMyWork
{
    public static class NativeMethods
    {
        // This function is used in the ProcessesLocal class to determine if the Window(s) associated with a process is Visible
        [DllImport("user32.dll")]
        [return: MarshalAs(UnmanagedType.Bool)]
        internal static extern bool IsWindowVisible(IntPtr hWnd);
    }
}
